'use strict';
const db = uniCloud.database();
const noteDb = db.collection('note');
exports.main = async (event, context) => {
	let res = await noteDb.where({}).get();
	return res;
};